/*
 * @(#)AnimateListAdapter.java $version 2013. 5. 23.
 *
 * Copyright 2007 NHN Corp. All rights Reserved. 
 * NHN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
 */

package com.design.oop.control;

import android.view.View;
import android.widget.BaseAdapter;

/**
 * @author ruin
 */
public abstract class AbsAnimateListAdapter<T, I> extends BaseAdapter {
	/**
	 * 기록되어져 있는 itemRect를 조회해온다.
	 * 
	 * @return
	 */

	abstract public int getItemHeight(int position, View itemView);

	abstract public void setDataSource(T itemList);

	abstract public T getDataSource();

	abstract public void remove(int position);

	abstract public boolean isEmpty();

	abstract public void addItem(int position, I item);

	abstract public void resetCachedItemHeights();

}
